
import Home from "../pages/Home/Home"
import Fast from "../pages/Fast/Fast"
import User from "../pages/User/User"
import Login from "../pages/Login/Login"
import Register from "../pages/Register/Register"
import Toggle from "../pages/Toggle/Toggle"
import Error from "../pages/Error/Error"

const Arrroute = [
    { pathname: "/home", component: Home },
    { pathname: "/fast", component: Fast },
    { pathname: "/user", component: User },
    { pathname: "/login", component: Login },
    { pathname: "/Register", component: Register },
    { pathname: "/toggle", component: Toggle },
    { pathname: "", component: Error }
]
export default Arrroute